ValidationError Properties

Properties

Location Gets where the problem is, as a path through the object model - for example Slides[2] or Sheets[0].Name. Null when the problem is the document as a whole.
Message Gets what is wrong, in terms of the object model rather than the XML - the caller fixes this by changing the document, not the file.

See Also